package com.xiongwei.manageback.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
@Getter
public class TokenConfig {
    public static final String USER_KEY = "uid";
    public static final String EXPIRE_KEY = "expire_time";

    @Value("${jwt.token.secretKey}")
    private String secretKey;
    @Value("${jwt.token.ttl}")
    private Long ttl;
}
